package com.deuwise.system.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;

/**
 * 
 *@author deuwise
 *@date 2020-05-15 09:51:27
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName("SYS_LAYER_DICT")
public class SysLayerDict extends Model<SysLayerDict> implements Serializable{
    /**主键标识*/
    @ApiModelProperty("主键标识")
    @TableField("id")
    private String id;

    /**属性字段*/
    @ApiModelProperty("属性字段")
    @TableField("field")
    private String field;

    /**图层名称*/
    @ApiModelProperty("图层名称")
    @TableField("layer_name")
    private String layerName;

    /**图层类型(图层对应类型)*/
    @ApiModelProperty("图层类型(图层对应类型)")
    @TableField("layer_type")
    private String layerType;

    /**是否必填*/
    @ApiModelProperty("是否必填")
    @TableField("not_null")
    private Integer notNull;

    /**图层版本号*/
    @ApiModelProperty("图层版本号")
    @TableField("version")
    private String version;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}